package com.design.mode.adapter.demo;

/**
 * Created by lucky on 2018/9/14.
 */
public class MainFile {
    public static void main(String[] args) {
        FileIo fileIo =new FilePropeties();
        fileIo.readFile("C:\\myProject\\text1.txt");
        fileIo.setValue("year","2018");
        fileIo.setValue("month","09");
        fileIo.setValue("day","14");
        fileIo.writeFile("C:\\myProject\\text2.txt");
    }
}
